<!DOCTYPE html>
<html lang="en">
<head>
<title>WebView4Delphi: uWVCoreWebView2Args: Class TCoreWebView2AcceleratorKeyPressedEventArgs</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="TCoreWebView2AcceleratorKeyPressedEventArgs"></span><h1 class="cio">Class TCoreWebView2AcceleratorKeyPressedEventArgs</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uWVCoreWebView2Args.html">uWVCoreWebView2Args</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCoreWebView2AcceleratorKeyPressedEventArgs = class(TObject)</code></p>
<h2 class="description">Description</h2>
<p>
 Event args for the AcceleratorKeyPressed event. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TCoreWebView2AcceleratorKeyPressedEventArgs</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#FBaseIntf">FBaseIntf</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2AcceleratorKeyPressedEventArgs.html">ICoreWebView2AcceleratorKeyPressedEventArgs</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#FBaseIntf2">FBaseIntf2</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2AcceleratorKeyPressedEventArgs2.html">ICoreWebView2AcceleratorKeyPressedEventArgs2</a>;</code></td>
</tr>
</table>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetInitialized">GetInitialized</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetKeyEventKind">GetKeyEventKind</a></strong>: <a href="uWVTypes.html#TWVKeyEventKind">TWVKeyEventKind</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetVirtualKey">GetVirtualKey</a></strong>: LongWord;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetKeyEventLParam">GetKeyEventLParam</a></strong>: integer;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetHandled">GetHandled</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetRepeatCount">GetRepeatCount</a></strong>: LongWord;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetScanCode">GetScanCode</a></strong>: LongWord;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsExtendedKey">GetIsExtendedKey</a></strong>: boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsMenuKeyDown">GetIsMenuKeyDown</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetWasKeyDown">GetWasKeyDown</a></strong>: boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsKeyReleased">GetIsKeyReleased</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsBrowserAcceleratorKeyEnabled">GetIsBrowserAcceleratorKeyEnabled</a></strong>: boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#SetHandled-boolean-">SetHandled</a></strong>(aValue : boolean);</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#SetIsBrowserAcceleratorKeyEnabled-boolean-">SetIsBrowserAcceleratorKeyEnabled</a></strong>(aValue : boolean);</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#InitializeFields">InitializeFields</a></strong>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#Create-ICoreWebView2AcceleratorKeyPressedEventArgs-">Create</a></strong>(const aArgs: <a href="uWVTypeLibrary.ICoreWebView2AcceleratorKeyPressedEventArgs.html">ICoreWebView2AcceleratorKeyPressedEventArgs</a>); reintroduce;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#Destroy">Destroy</a></strong>; override;</code></td>
</tr>
</table>
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#Initialized">Initialized</a></strong>                    : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetInitialized">GetInitialized</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#BaseIntf">BaseIntf</a></strong>                       : <a href="uWVTypeLibrary.ICoreWebView2AcceleratorKeyPressedEventArgs.html">ICoreWebView2AcceleratorKeyPressedEventArgs</a>  read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#FBaseIntf">FBaseIntf</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#KeyEventKind">KeyEventKind</a></strong>                   : <a href="uWVTypes.html#TWVKeyEventKind">TWVKeyEventKind</a>                              read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetKeyEventKind">GetKeyEventKind</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#VirtualKey">VirtualKey</a></strong>                     : LongWord                                     read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetVirtualKey">GetVirtualKey</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#KeyEventLParam">KeyEventLParam</a></strong>                 : integer                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetKeyEventLParam">GetKeyEventLParam</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#RepeatCount">RepeatCount</a></strong>                    : LongWord                                     read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetRepeatCount">GetRepeatCount</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#ScanCode">ScanCode</a></strong>                       : LongWord                                     read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetScanCode">GetScanCode</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#IsExtendedKey">IsExtendedKey</a></strong>                  : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsExtendedKey">GetIsExtendedKey</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#IsMenuKeyDown">IsMenuKeyDown</a></strong>                  : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsMenuKeyDown">GetIsMenuKeyDown</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#WasKeyDown">WasKeyDown</a></strong>                     : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetWasKeyDown">GetWasKeyDown</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#IsKeyReleased">IsKeyReleased</a></strong>                  : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsKeyReleased">GetIsKeyReleased</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#Handled">Handled</a></strong>                        : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetHandled">GetHandled</a>                          write <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#SetHandled-boolean-">SetHandled</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#IsBrowserAcceleratorKeyEnabled">IsBrowserAcceleratorKeyEnabled</a></strong> : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsBrowserAcceleratorKeyEnabled">GetIsBrowserAcceleratorKeyEnabled</a>   write <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#SetIsBrowserAcceleratorKeyEnabled-boolean-">SetIsBrowserAcceleratorKeyEnabled</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf"></span><code><strong>FBaseIntf</strong>: <a href="uWVTypeLibrary.ICoreWebView2AcceleratorKeyPressedEventArgs.html">ICoreWebView2AcceleratorKeyPressedEventArgs</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf2"></span><code><strong>FBaseIntf2</strong>: <a href="uWVTypeLibrary.ICoreWebView2AcceleratorKeyPressedEventArgs2.html">ICoreWebView2AcceleratorKeyPressedEventArgs2</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetInitialized"></span><code>function <strong>GetInitialized</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetKeyEventKind"></span><code>function <strong>GetKeyEventKind</strong>: <a href="uWVTypes.html#TWVKeyEventKind">TWVKeyEventKind</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetVirtualKey"></span><code>function <strong>GetVirtualKey</strong>: LongWord;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetKeyEventLParam"></span><code>function <strong>GetKeyEventLParam</strong>: integer;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetHandled"></span><code>function <strong>GetHandled</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetRepeatCount"></span><code>function <strong>GetRepeatCount</strong>: LongWord;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetScanCode"></span><code>function <strong>GetScanCode</strong>: LongWord;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetIsExtendedKey"></span><code>function <strong>GetIsExtendedKey</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetIsMenuKeyDown"></span><code>function <strong>GetIsMenuKeyDown</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetWasKeyDown"></span><code>function <strong>GetWasKeyDown</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetIsKeyReleased"></span><code>function <strong>GetIsKeyReleased</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetIsBrowserAcceleratorKeyEnabled"></span><code>function <strong>GetIsBrowserAcceleratorKeyEnabled</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetHandled-boolean-"></span><code>procedure <strong>SetHandled</strong>(aValue : boolean);</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="SetIsBrowserAcceleratorKeyEnabled-boolean-"></span><code>procedure <strong>SetIsBrowserAcceleratorKeyEnabled</strong>(aValue : boolean);</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="InitializeFields"></span><code>procedure <strong>InitializeFields</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create-ICoreWebView2AcceleratorKeyPressedEventArgs-"></span><code>constructor <strong>Create</strong>(const aArgs: <a href="uWVTypeLibrary.ICoreWebView2AcceleratorKeyPressedEventArgs.html">ICoreWebView2AcceleratorKeyPressedEventArgs</a>); reintroduce;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Destroy"></span><code>destructor <strong>Destroy</strong>; override;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Initialized"></span><code>property <strong>Initialized</strong>                    : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetInitialized">GetInitialized</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns true when the interface implemented by this class is fully initialized. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="BaseIntf"></span><code>property <strong>BaseIntf</strong>                       : <a href="uWVTypeLibrary.ICoreWebView2AcceleratorKeyPressedEventArgs.html">ICoreWebView2AcceleratorKeyPressedEventArgs</a>  read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#FBaseIntf">FBaseIntf</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the interface implemented by this class. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="KeyEventKind"></span><code>property <strong>KeyEventKind</strong>                   : <a href="uWVTypes.html#TWVKeyEventKind">TWVKeyEventKind</a>                              read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetKeyEventKind">GetKeyEventKind</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The key event type that caused the event to run. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_keyeventkind">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_keyeventkind</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="VirtualKey"></span><code>property <strong>VirtualKey</strong>                     : LongWord                                     read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetVirtualKey">GetVirtualKey</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The Win32 virtual key code of the key that was pressed or released. It is one of the Win32 virtual key constants such as `VK_RETURN` or an (uppercase) ASCII value such as `A`. Verify whether Ctrl or Alt are pressed by running `GetKeyState(VK_CONTROL)` or `GetKeyState(VK_MENU)`. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_virtualkey">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_virtualkey</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="KeyEventLParam"></span><code>property <strong>KeyEventLParam</strong>                 : integer                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetKeyEventLParam">GetKeyEventLParam</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The `LPARAM` value that accompanied the window message. For more information, navigate to [WM_KEYDOWN](/windows/win32/inputdev/wm-keydown) and [WM_KEYUP](/windows/win32/inputdev/wm-keyup). </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_keyeventlparam">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_keyeventlparam</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="RepeatCount"></span><code>property <strong>RepeatCount</strong>                    : LongWord                                     read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetRepeatCount">GetRepeatCount</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Specifies the repeat count for the current message. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus</a>&quot;&gt;See the CoreWebView2PhysicalKeyStatus Struct article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="ScanCode"></span><code>property <strong>ScanCode</strong>                       : LongWord                                     read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetScanCode">GetScanCode</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Specifies the scan code. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus</a>&quot;&gt;See the CoreWebView2PhysicalKeyStatus Struct article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsExtendedKey"></span><code>property <strong>IsExtendedKey</strong>                  : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsExtendedKey">GetIsExtendedKey</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Indicates that the key is an extended key. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus</a>&quot;&gt;See the CoreWebView2PhysicalKeyStatus Struct article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsMenuKeyDown"></span><code>property <strong>IsMenuKeyDown</strong>                  : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsMenuKeyDown">GetIsMenuKeyDown</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Indicates that a menu key is held down (context code). </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus</a>&quot;&gt;See the CoreWebView2PhysicalKeyStatus Struct article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="WasKeyDown"></span><code>property <strong>WasKeyDown</strong>                     : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetWasKeyDown">GetWasKeyDown</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Indicates that the key was held down. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus</a>&quot;&gt;See the CoreWebView2PhysicalKeyStatus Struct article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsKeyReleased"></span><code>property <strong>IsKeyReleased</strong>                  : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsKeyReleased">GetIsKeyReleased</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Indicates that the key was released. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_physicalkeystatus</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2physicalkeystatus</a>&quot;&gt;See the CoreWebView2PhysicalKeyStatus Struct article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Handled"></span><code>property <strong>Handled</strong>                        : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetHandled">GetHandled</a>                          write <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#SetHandled-boolean-">SetHandled</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 During `AcceleratorKeyPressedEvent` handler invocation the WebView is blocked waiting for the decision of if the accelerator is handled by the host (or not). If the `Handled` property is set to `TRUE` then this prevents the WebView from performing the default action for this accelerator key. Otherwise the WebView performs the default action for the accelerator key. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_handled">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs#get_handled</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="IsBrowserAcceleratorKeyEnabled"></span><code>property <strong>IsBrowserAcceleratorKeyEnabled</strong> : boolean                                      read <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#GetIsBrowserAcceleratorKeyEnabled">GetIsBrowserAcceleratorKeyEnabled</a>   write <a href="uWVCoreWebView2Args.TCoreWebView2AcceleratorKeyPressedEventArgs.html#SetIsBrowserAcceleratorKeyEnabled-boolean-">SetIsBrowserAcceleratorKeyEnabled</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>


<p>This property allows developers to enable or disable the browser from handling a specific browser accelerator key such as Ctrl+P or F3, etc.

<p>Browser accelerator keys are the keys/key combinations that access features specific to a web browser, including but not limited to:

<p></p>

<pre class="preformatted">
- Ctrl-F and F3 for Find on Page
- Ctrl-P for Print
- Ctrl-R and F5 for Reload
- Ctrl-Plus and Ctrl-Minus for zooming
- Ctrl-Shift-C and F12 for DevTools
- Special keys for browser functions, such as Back, Forward, and Search</pre>

<p>

<p>This property does not disable accelerator keys related to movement and text editing, such as:

<p></p>

<pre class="preformatted">
- Home, End, Page Up, and Page Down
- Ctrl-X, Ctrl-C, Ctrl-V
- Ctrl-A for Select All
- Ctrl-Z for Undo</pre>

<p>

<p>The `ICoreWebView2Settings.AreBrowserAcceleratorKeysEnabled` API is a convenient setting for developers to disable all the browser accelerator keys together, and sets the default value for the `IsBrowserAcceleratorKeyEnabled` property.

<p>By default, `ICoreWebView2Settings.AreBrowserAcceleratorKeysEnabled` is `TRUE` and `IsBrowserAcceleratorKeyEnabled` is `TRUE`.

<p>When developers change `ICoreWebView2Settings.AreBrowserAcceleratorKeysEnabled` setting to `FALSE`, this will change default value for `IsBrowserAcceleratorKeyEnabled` to `FALSE`.

<p>If developers want specific keys to be handled by the browser after changing the `ICoreWebView2Settings.AreBrowserAcceleratorKeysEnabled` setting to `FALSE`, they need to enable these keys by setting `IsBrowserAcceleratorKeyEnabled` to `TRUE`.

<p>This API will give the event arg higher priority over the `ICoreWebView2Settings.AreBrowserAcceleratorKeysEnabled` setting when we handle the keys.

<p>For browser accelerator keys, when an accelerator key is pressed, the propagation and processing order is:

<p></p>

<pre class="preformatted">
1. A ICoreWebView2Controller.AcceleratorKeyPressed event is raised
2. WebView2 browser feature accelerator key handling
3. Web Content Handling: If the key combination isn't reserved for browser actions,
the key event propagates to the web content, where JavaScript event listeners can
capture and respond to it.</pre>

<p>

<p>`ICoreWebView2AcceleratorKeyPressedEventArgs` has a `Handled` property, that developers can use to mark a key as handled. When the key is marked as handled anywhere along the path, the event propagation stops, and web content will not receive the key. With `IsBrowserAcceleratorKeyEnabled` property, if developers mark `IsBrowserAcceleratorKeyEnabled` as `FALSE`, the browser will skip the WebView2 browser feature accelerator key handling process, but the event propagation continues, and web content will receive the key combination.

<p></p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs2#get_isbrowseracceleratorkeyenabled">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2acceleratorkeypressedeventargs2#get_isbrowseracceleratorkeyenabled</a>&quot;&gt;See the ICoreWebView2AcceleratorKeyPressedEventArgs2 article.)</p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>
